package org.opens.lambda.entity;

/**
 * 简介:
 *      商人的实体类.
 */
public class Trader {

    /**
     * 商人名称
     */
    private String name;

    /**
     * 商人所在的城市
     */
    private String city;

    public Trader(String name, String city) {
        this.name = name;
        this.city = city;
    }

    public String getName() {
        return name;
    }

    public String getCity() {
        return city;
    }

    @Override
    public String toString() {
        return "Trader{" +
                "name='" + name + '\'' +
                ", city='" + city + '\'' +
                '}';
    }

}
